package com.sojoys.artifact.constant;
/**
 * 0-1000 为架构错误码
 * @author SandKing
 *
 */
public class ArtifactErrorCode {
	/**
	 * 参数异常
	 */
	public static final int PARAM_ERROR = 1;
	/**
	 * 模块未定义
	 */
	public static final int NOT_FOND_MODULE = 2;
	/**
	 * 未知错误
	 */
	public static final int UNKNOWN_ERROR = 3;
	/**
	 * 线程池未找到
	 */
	public static final int NOT_FOND_EXECUTOR = 4;
	/**
	 * 相关配置为找到
	 */
	public static final int NOT_FOND_CONFIG = 5;
	/**
	 * 服务器繁忙
	 */
	public static final int SERVER_BUSY = 6;
	/**
	 * 插件没有初始化
	 */
	public static final int PLUGIN_NOT_INITIALIZED = 7;
	/**
	 * 分布式ID错误
	 */
	public static final int SNOWFLAKE_ERROR = 8;
	/**
	 * 服务器远程连接失败
	 */
	public static final int REMOTE_CONNECT_ERROR = 9;
	/**
	 * 自定义SQL权限错误
	 */
	public static final int SQL_PERMISSIONS_ERROR = 10;
}
